<?php
$_VAR = array();
$_VAR['pathinfo_extension'] = pathinfo($_SERVER['SCRIPT_NAME'], PATHINFO_EXTENSION);
$_CONFIG = include ROOT . '/index/config/mime-types.php';
if (array_key_exists($_VAR['pathinfo_extension'], $_CONFIG)) {
	return $html = include ROOT . '/index/content-type/' . $_CONFIG[$_VAR['pathinfo_extension']] . '.php';
}
echo 'not matched extension: ' . $_VAR['pathinfo_extension'];
